package com.example.dao.impl;

import com.example.dao.UserDao;

import java.util.*;

public class UserDaoImpl implements UserDao {
    private Integer[] array;
    private List<Integer> list;
    private Set<Integer> set;
    private Map<Object,Object> map;

    private Properties properties;

    @Override
    public void save() {
        System.out.println("user dao save!");
        System.out.println(Arrays.toString(array));
        System.out.println(list);
        System.out.println(set);
        System.out.println(map);
        System.out.println(properties);
    }

    public void setArray(Integer[] array) {
        this.array = array;
    }

    public void setList(List<Integer> list) {
        this.list = list;
    }

    public void setSet(Set<Integer> set) {
        this.set = set;
    }

    public void setMap(Map<Object, Object> map) {
        this.map = map;
    }

    public void setProperties(Properties properties) {
        this.properties = properties;
    }
}
